package com.brush.system.domain.req.sysdicttype;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: SysDictAddReq
 * Package: com.exam.system.domain.req.sysdicttype
 * Description:
 *
 * @Author luo
 * @Create 2024/8/26 14:38
 * @Version 1.0
 */
@ApiModel(value = "SysDictAddReq", description = "字典类型新增请求对象")
@Getter
@Setter
public class SysDictTypeAddReq {

    /**
     * 字典名称
     */
    @ApiModelProperty(value = "字典名称",required = true)
    @NotBlank(message = "{sysdicttype.not.dictName}")
    private String dictName;

    /**
     * 字典类型
     */
    @ApiModelProperty(value = "字典类型",required = true)
    @NotBlank(message = "{sysdicttype.not.dictType}")
    private String dictType;

    /**
     * 状态（0正常 1停用）
     */
    @ApiModelProperty(value = "状态（0正常 1停用）",required = true)
    @NotBlank(message = "{sysdicttype.not.status}")
    private String status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;

}
